package com.swfpeep
{
	import com.swfpeep.ui.LogPanel;
	
	import mx.controls.TextArea;
	
	public function log(str:String):void
	{
		var logPanel:LogPanel = SWFPeep.LOG_PANEL;
		if(logPanel != null)
		{
			logPanel.print(str);
		}
		trace(str);
	}
}